<?php
/* Database config */

$salt = '|#€7`¬23ads4ook12'; // Cadena para complicar la encriptacion de las contrase�as
$db_host = 'localhost';
$db_user = 'root';
$db_pass = 'root';
$db_database = 'stick_wars';

$conexion = mysql_connect($db_host, $db_user, $db_pass) or die('No se ha podido conectar con la Base de datos');
mysql_select_db($db_database, $conexion);
mysql_query("SET names UTF8");

$connection=new mysqli($db_host, $db_user,$db_pass,$db_database);
if ($connection->errno) {
	echo "Fallo al conectar. Error: " . die(mysqli_connect_error());
}
?>